package com.happyfamily.springboot.crowdsourcingplatform.service.wang;

import com.happyfamily.springboot.crowdsourcingplatform.base.result.Results;
import com.happyfamily.springboot.crowdsourcingplatform.model.UserStory;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface StoryService
{
	public List<UserStory> storyList();

	public Results<UserStory> findStoryList(Integer startPosition, Integer limit, String who, String starttime, String endtime, String stitle,String storySticky);

	public Results<UserStory> myStoryList(Integer startPosition, Integer limit,String starttime,String endtime,String stitle,String storySticky,String storyStatus,String scontent, HttpServletRequest request);

	public String storyAdd(String titles, String contents, HttpServletRequest request);

	public String resubmit(String sid);

	public Results<UserStory> storyTable(Integer startPosition, Integer limit, String who, String starttime, String endtime, String status,String sticky);

	public String storyDelete(String sid);

	public String storyYes(String sid);

	public String storyNo(String sid);

	public String cancelSticky(String sid);

	public String doSticky(String sid);
}
